
/**
 * 该文件和lazy_lib下的文件一致，按需模拟。
 *
 * 当需要更多组件依赖时，在该文件加入即可
 */
import {
  LocaleProvider,
  Layout,
  Input,
  InputNumber,
  Button,
  Switch,
  Radio,
  Checkbox,
  Select,
  Card,
  Form,
  Row,
  Col,
  Modal,
  Table,
  Tabs,
  Icon,
  Badge,
  Popover,
  Dropdown,
  List,
  Avatar,
  Breadcrumb,
  Steps,
  Spin,
  Menu,
  Drawer,
  Tooltip,
  Alert,
  Tag,
  Divider,
  DatePicker,
  TimePicker,
  Tree,
  Upload,
  Progress,
  Skeleton,
  Popconfirm,
  message,
  notification,
  TreeSelect
} from 'ant-design-vue/lib/index'
// import VueCropper from 'vue-cropper'

export default function (localVue) {
  localVue.use(LocaleProvider)
  localVue.use(Layout)
  localVue.use(Input)
  localVue.use(InputNumber)
  localVue.use(Button)
  localVue.use(Switch)
  localVue.use(Radio)
  localVue.use(Checkbox)
  localVue.use(Select)
  localVue.use(Card)
  localVue.use(Form)
  localVue.use(Row)
  localVue.use(Col)
  localVue.use(Modal)
  localVue.use(Table)
  localVue.use(Tabs)
  localVue.use(Icon)
  localVue.use(Badge)
  localVue.use(Popover)
  localVue.use(Dropdown)
  localVue.use(List)
  localVue.use(Avatar)
  localVue.use(Breadcrumb)
  localVue.use(Steps)
  localVue.use(Spin)
  localVue.use(Menu)
  localVue.use(Drawer)
  localVue.use(Tooltip)
  localVue.use(Alert)
  localVue.use(Tag)
  localVue.use(Divider)
  localVue.use(DatePicker)
  localVue.use(TimePicker)
  localVue.use(Tree)
  localVue.use(Upload)
  localVue.use(Progress)
  localVue.use(Skeleton)
  localVue.use(Popconfirm)
// localVue.use(VueCropper)
  localVue.use(notification)
  localVue.use(TreeSelect)

  localVue.prototype.$confirm = Modal.confirm
  localVue.prototype.$message = message
  localVue.prototype.$notification = notification
  localVue.prototype.$info = Modal.info
  localVue.prototype.$success = Modal.success
  localVue.prototype.$error = Modal.error
  localVue.prototype.$warning = Modal.warning
};